package ModelLayer;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Child extends Person implements Serializable
{
	private int childID;
	private String CPR;
	private String registrationDate;
	
	/**
     * Constructor for objects of class Person
     */
    public Child()
    {
    	
    }
    
    public Child(int childID)
    {
    	this.childID = childID;
    }
		
	public Child(int personID, String fName, String lName, String address, int postalCode, String city, String phoneNr, String mobileNr, String email, int childID, String CPR, String registrationDate)
    {
    	super(personID, fName, lName, address, postalCode, city, phoneNr, mobileNr, email);
        this.childID = childID;
        this.CPR = CPR;
        this.registrationDate = registrationDate;
    }

	public int getChildID() {
		return childID;
	}

	public void setChildID(int childID) {
		this.childID = childID;
	}

	public String getCPR() {
		return CPR;
	}

	public void setCPR(String cPR) {
		CPR = cPR;
	}

	public String getRegistrationDate() {
		return registrationDate;
	}

	public void setRegistrationDate(String registrationDate) {
		this.registrationDate = registrationDate;
	}

}
